package router

import (
	"fx_swift_forex/internal/controller"
	"fx_swift_forex/pkg/middleware"
)

func ComplyRouter() {
	complyApiVer := miniApiVer.Group("comply", middleware.CheckAuth())
	{
		complyApiVer.POST("createCustomer", controller.CreateCustomer)
		complyApiVer.POST("postPersonCustomer", controller.PostPersonCustomer)
		complyApiVer.POST("postCompanyCustomer", controller.PostCompanyCustomer)
		complyApiVer.POST("createCustomerTemp", controller.CreateCustomerTemp)
		complyApiVer.GET("getCustomerTemp", controller.GetCustomerTemp)
		complyApiVer.GET("getCustomerMessage", controller.GetCustomerMessage)
		complyApiVer.GET("changeCompanyInfo", controller.ChangeCompanyInfo)
	}
}
